﻿using WPay.Infrastructure.Unity.Enums;
using WPay.Infrastructure.Repository.DapperCore;
using System;
using System.Collections.Generic;
using System.Text;
using WPay.Infrastructure.Unity;
using System.Linq.Expressions;
using System.Linq;

namespace WPay.Infrastructure.Repository.Base
{
    /// <summary>
    /// 微卡券仓储基类
    /// </summary>
    public class RepositoryBase : DapperDbContext
    {
        public RepositoryBase()
        {
            DbRW = DapperFactory.CreateConnection();//创建读写连接对象
            DbRO = DapperFactory.CreateConnection(true);//创建只读连接对象
        }
       
    }
}
